package com.chuangsi;

import com.chuangsi.project.init.Init;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class NonCarInsuranceApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(NonCarInsuranceApplication.class, args);
        context.getBean(Init.class).init();
        System.out.println("(♥◠‿◠)ﾉﾞ  管理平台启动成功   ლ(´ڡ`ლ)ﾞ  \n");
    }
}
